package com.dz.risk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.common.exception.RRException;
import com.dz.risk.pojo.QueryParams;
import com.dz.risk.pojo.domain.BondRiskInformationSheetEntity;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 债券风险信息表
 *
 * @author yinpl
 * @email 
 * @date 2021-07-08 10:36:32
 */
public interface BondRiskInformationSheetService extends IService<BondRiskInformationSheetEntity> {

    IPage<BondRiskInformationSheetEntity> query(QueryParams queryParams);

    void roll(Long version) throws RRException;

    void doExportByVersion(HttpServletResponse response, QueryParams queryParams) throws IOException;
}

